import Vue from 'vue'
import App from './App'
import router from './router'
import Vuex from 'vuex'
import { Pagination,Link,Icon,Input  } from 'element-ui'
import VueCookie from 'vue-cookie'
import http from '@/request/http.js'
import store from '@/store/index.js'
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/scss/base.scss";
import "@/assets/scss/index.scss";
import "@/assets/scss/m.scss";

Vue.config.productionTip = false
Vue.use(VueCookie)
Vue.use(Vuex)
Vue.use(Pagination)
Vue.use(Link)
Vue.use(Icon)
Vue.use(Input)

// axios挂载全局
Vue.prototype.$http = http // ajax请求方法
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
